package ysu.sxm.ptjc.pojo;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.sql.Timestamp;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.NoArgsConstructor;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * @Description  
 * @Author  baodan_Fan 
 * @Date 2021-01-07 
 */

@Getter
@Setter
@ToString
@NoArgsConstructor
@EqualsAndHashCode
@Entity
@Table ( name ="defect_record_info" )
public class DefectRecordInfo  implements Serializable {
	private static final long serialVersionUID =  7018302960046438051L;

	/**
	 * 检测id
	 */
   	@Id
	private Long recordId;

	/**
	 * 产品id
	 */
   	@Column(name = "produce_id" )
	private String produceId;

	/**
	 * 缺陷编号
	 */
   	@Column(name = "defect_num" )
	private String defectNum;

	/**
	 * 时间
	 */
   	@Column(name = "record_time" )
	private Timestamp recordTime;

	/**
	 * 检测员id
	 */
   	@Column(name = "surveyor_id" )
	private Long surveyorId;

	/**
	 * 线别
	 */
   	@Column(name = "line_id" )
	private Long lineId;

	public Long getRecordId() {
		return this.recordId;
	}

	public void setRecordId(Long recordId) {
		this.recordId = recordId;
	}

	public String getProduceNum() {
		return this.produceId;
	}

	public void setProduceNum(String produceId) {
		this.produceId = produceId;
	}

	public String getDefectNum() {
		return this.defectNum;
	}

	public void setDefectNum(String defectNum) {
		this.defectNum = defectNum;
	}

	public Timestamp getRecordTime() {
		return this.recordTime;
	}

	public void setRecordTime(Timestamp recordTime) {
		this.recordTime = recordTime;
	}

	public Long getSurveyorId() {
		return this.surveyorId;
	}

	public void setSurveyorId(Long surveyorId) {
		this.surveyorId = surveyorId;
	}

	public Long getLineId() {
		return this.lineId;
	}

	public void setLineId(Long lineId) {
		this.lineId = lineId;
	}

}
